package com.itmgg.web.websocket;

import lombok.Data;

/**
 * Created by rui.song on 2021/06/26.
 */
@Data
public class SocketIns {
    private String instanceId;
    private String socketId;
    private String deploymentId;
    private String resourceName;

    public SocketIns withInstanceId(String instanceId) {
        this.instanceId = instanceId;
        return this;
    }

    public SocketIns withSocketId(String socketId) {
        this.socketId = socketId;
        return this;
    }

    public SocketIns withDeploymentId(String deploymentId) {
        this.deploymentId = deploymentId;
        return this;
    }

    public SocketIns withResourceName(String resourceName) {
        this.resourceName = resourceName;
        return this;
    }
}
